<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: help.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a03281.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">rtl/help.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="a03281_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a5ba953956a025099127d942bcd7074af"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03281.html#a5ba953956a025099127d942bcd7074af">FIsParentDude</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:a5ba953956a025099127d942bcd7074af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab478374786a0743987d6c0b5bf8c44fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03281.html#ab478374786a0743987d6c0b5bf8c44fd">GetContextHelpId</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:ab478374786a0743987d6c0b5bf8c44fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab574cd8daaf539e11dd6819779cdc87f"><td class="memItemLeft" align="right" valign="top">BOOL CALLBACK&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03281.html#ab574cd8daaf539e11dd6819779cdc87f">EnumPwndDlgChildProc</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPARAM lParam)</td></tr>
<tr class="separator:ab574cd8daaf539e11dd6819779cdc87f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="ab574cd8daaf539e11dd6819779cdc87f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab574cd8daaf539e11dd6819779cdc87f">&#9670;&nbsp;</a></span>EnumPwndDlgChildProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL CALLBACK EnumPwndDlgChildProc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03281_source.html">rtl/help.c</a> 第 <a class="el" href="a03281_source.html#l00054">54</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="a02629.html">PDLGENUMDATA</a> pDlgEnumData = (<a class="code" href="a00365.html#a11e79c9d9b713b29cf4e3bf0d6e75916">PDLGENUMDATA</a>)lParam;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordflow">if</span> (pwnd != pDlgEnumData-&gt;<a class="code" href="a02629.html#a863ddef7356e7bb4149c06cad66b78b9">pwndDialog</a> &amp;&amp; <a class="code" href="a00365.html#ad3225ce06580cb58802233512f3d9c81">IsVisible</a>(pwnd) &amp;&amp;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <a class="code" href="a00935.html#a75b3bf802c369845c4381fcee638bc8a">PtInRect</a>(&amp;pwnd-&gt;<a class="code" href="a02581.html#a2778d611c2b27395e559c94d05732e1f">rcWindow</a>, pDlgEnumData-&gt;<a class="code" href="a02629.html#a41e6e965fb052b17086a14a3cacddb27">ptCurHelp</a>)) {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">         * If it&#39;s a group box, keep enumerating. This takes care of</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">         * the case where we have a disabled control in a group box.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">         * We&#39;ll find the group box first, and keep enumerating until we</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">         * hit the disabled control.</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        pDlgEnumData-&gt;<a class="code" href="a02629.html#ad180db03bd449a66abd318f931f93715">pwndControl</a> = pwnd;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="a03281.html#a5ba953956a025099127d942bcd7074af">FIsParentDude</a>(pwnd));</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    }</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03281_source.html#l00012">FIsParentDude()</a>, <a class="el" href="a03728_source.html#l00456">IsVisible()</a>, <a class="el" href="a00365_source.html#l02030">tagDLGENUMDATA::ptCurHelp</a>, <a class="el" href="a00935_source.html#l00111">PtInRect()</a>, <a class="el" href="a00365_source.html#l02029">tagDLGENUMDATA::pwndControl</a>, <a class="el" href="a00365_source.html#l02028">tagDLGENUMDATA::pwndDialog</a> , 以及 <a class="el" href="a00365_source.html#l01398">tagWND::rcWindow</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03272_source.html#l00473">EnumHwndDlgChildProc()</a> , 以及 <a class="el" href="a03275_source.html#l00079">xxxHelpLoop()</a>.</p>

</div>
</div>
<a id="a5ba953956a025099127d942bcd7074af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ba953956a025099127d942bcd7074af">&#9670;&nbsp;</a></span>FIsParentDude()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL FIsParentDude </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03281_source.html">rtl/help.c</a> 第 <a class="el" href="a03281_source.html#l00012">12</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <span class="keywordflow">return</span>(TestWF(pwnd, WEFCONTROLPARENT) || TestWF(pwnd, WFDIALOGWINDOW) ||</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        ((GETFNID(pwnd) == FNID_BUTTON) &amp;&amp;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;         (TestWF(pwnd, BFTYPEMASK) == BS_GROUPBOX)));</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a03281_source.html#l00054">EnumPwndDlgChildProc()</a>, <a class="el" href="a03272_source.html#l00501">WinHelpA()</a> , 以及 <a class="el" href="a03275_source.html#l00079">xxxHelpLoop()</a>.</p>

</div>
</div>
<a id="ab478374786a0743987d6c0b5bf8c44fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab478374786a0743987d6c0b5bf8c44fd">&#9670;&nbsp;</a></span>GetContextHelpId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> GetContextHelpId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03281_source.html">rtl/help.c</a> 第 <a class="el" href="a03281_source.html#l00028">28</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>  dwContextId;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordflow">while</span> (!(dwContextId = (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)<a class="code" href="a00365.html#a600525b4b6d1cfd74c99b5484051ce5c">_GetProp</a>(pwnd,</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;            MAKEINTATOM(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a>), PROPF_INTERNAL))) {</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        pwnd = (TestwndChild(pwnd) ?</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                REBASEPWND(pwnd, spwndParent) :</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                REBASEPWND(pwnd, spwndOwner));</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="keywordflow">if</span> (!pwnd || (GETFNID(pwnd) == FNID_DESKTOP))</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    }</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">return</span> dwContextId;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03740_source.html#l00069">_GetProp()</a>, <a class="el" href="a00365_source.html#l01044">tagSERVERINFO::atomContextHelpIdProp</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a> , 以及 <a class="el" href="a00020_source.html#l00039">gpsi</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a> , 以及 <a class="el" href="a03275_source.html#l00079">xxxHelpLoop()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02629_html_a41e6e965fb052b17086a14a3cacddb27"><div class="ttname"><a href="a02629.html#a41e6e965fb052b17086a14a3cacddb27">tagDLGENUMDATA::ptCurHelp</a></div><div class="ttdeci">POINT ptCurHelp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02030">user.h:2030</a></div></div>
<div class="ttc" id="aa02629_html_a863ddef7356e7bb4149c06cad66b78b9"><div class="ttname"><a href="a02629.html#a863ddef7356e7bb4149c06cad66b78b9">tagDLGENUMDATA::pwndDialog</a></div><div class="ttdeci">PWND pwndDialog</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02028">user.h:2028</a></div></div>
<div class="ttc" id="aa02629_html"><div class="ttname"><a href="a02629.html">tagDLGENUMDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02027">user.h:2027</a></div></div>
<div class="ttc" id="aa00935_html_a75b3bf802c369845c4381fcee638bc8a"><div class="ttname"><a href="a00935.html#a75b3bf802c369845c4381fcee638bc8a">PtInRect</a></div><div class="ttdeci">BOOL APIENTRY PtInRect(CONST RECT *prc, POINT pt)</div><div class="ttdef"><b>Definition:</b> <a href="a00935_source.html#l00111">rect.c:111</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa02581_html_a2778d611c2b27395e559c94d05732e1f"><div class="ttname"><a href="a02581.html#a2778d611c2b27395e559c94d05732e1f">tagWND::rcWindow</a></div><div class="ttdeci">RECT rcWindow</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01398">user.h:1398</a></div></div>
<div class="ttc" id="aa00365_html_a11e79c9d9b713b29cf4e3bf0d6e75916"><div class="ttname"><a href="a00365.html#a11e79c9d9b713b29cf4e3bf0d6e75916">PDLGENUMDATA</a></div><div class="ttdeci">struct tagDLGENUMDATA * PDLGENUMDATA</div></div>
<div class="ttc" id="aa02629_html_ad180db03bd449a66abd318f931f93715"><div class="ttname"><a href="a02629.html#ad180db03bd449a66abd318f931f93715">tagDLGENUMDATA::pwndControl</a></div><div class="ttdeci">PWND pwndControl</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02029">user.h:2029</a></div></div>
<div class="ttc" id="aa00365_html_a600525b4b6d1cfd74c99b5484051ce5c"><div class="ttname"><a href="a00365.html#a600525b4b6d1cfd74c99b5484051ce5c">_GetProp</a></div><div class="ttdeci">HANDLE _GetProp(PWND pwnd, LPWSTR pszKey, BOOL fInternal)</div><div class="ttdef"><b>Definition:</b> <a href="a03740_source.html#l00069">rtl/winprop.c:69</a></div></div>
<div class="ttc" id="aa03281_html_a5ba953956a025099127d942bcd7074af"><div class="ttname"><a href="a03281.html#a5ba953956a025099127d942bcd7074af">FIsParentDude</a></div><div class="ttdeci">BOOL FIsParentDude(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03281_source.html#l00012">rtl/help.c:12</a></div></div>
<div class="ttc" id="aa02513_html_aaf5a872120f26aaf70d1117a8c1984d3"><div class="ttname"><a href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">tagSERVERINFO::atomContextHelpIdProp</a></div><div class="ttdeci">ATOM atomContextHelpIdProp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01044">user.h:1044</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa00365_html_ad3225ce06580cb58802233512f3d9c81"><div class="ttname"><a href="a00365.html#ad3225ce06580cb58802233512f3d9c81">IsVisible</a></div><div class="ttdeci">BOOL IsVisible(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a03728_source.html#l00456">rtl/winmgr.c:456</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_d1396aa20fcbba3cbb80fda211a2145f.html">rtl</a></li><li class="navelem"><a class="el" href="a03281.html">help.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
